package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.SysYzsRole;
import com.hzhc.vo.SysYzsRoleVo;

import java.util.List;

/**
 * @author dongcy
 * @date 2024/4/10 9:33
 * @description SysYzsRoleService
 */
public interface SysYzsRoleService extends IService<SysYzsRole> {
    List<SysYzsRoleVo> getYzsRoleJsonPage(Page<SysYzsRoleVo> page, SysYzsRoleVo vo);

    List<SysYzsRole> getRoleList(SysYzsRole yzsRole);

    List<SysYzsRole> getPageRole(Page<SysYzsRole> page, String searchdata);

    Boolean saveRole(SysYzsRole datas);

    Boolean updateRole(SysYzsRole datas);

    Boolean delRole(Long id);
}
